package com.thams.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * ComputationUnit entity. 单位
 * 
 * @author MyEclipse Persistence Tools
 */

public class ComputationUnit implements java.io.Serializable {

	// Fields

	private String ccomunitCode;
	private String ccomUnitName;
	private String cgroupCode;
	private String cbarCode;
	private Byte bmainUnit;
	private Double ichangRate;
	private Float iproportion;
	private Short inumber;
	private String pubufts;
	private String cenSingular;
	private String cenPlural;
	private String cunitRefInvCode;
	// Constructors

	// Property accessors

	public String getCcomunitCode() {
		return this.ccomunitCode;
	}

	public void setCcomunitCode(String ccomunitCode) {
		this.ccomunitCode = ccomunitCode;
	}

	public String getCcomUnitName() {
		return this.ccomUnitName;
	}

	public void setCcomUnitName(String ccomUnitName) {
		this.ccomUnitName = ccomUnitName;
	}

	public String getCgroupCode() {
		return this.cgroupCode;
	}

	public void setCgroupCode(String cgroupCode) {
		this.cgroupCode = cgroupCode;
	}

	public String getCbarCode() {
		return this.cbarCode;
	}

	public void setCbarCode(String cbarCode) {
		this.cbarCode = cbarCode;
	}

	public Byte getBmainUnit() {
		return this.bmainUnit;
	}

	public void setBmainUnit(Byte bmainUnit) {
		this.bmainUnit = bmainUnit;
	}

	public Double getIchangRate() {
		return this.ichangRate;
	}

	public void setIchangRate(Double ichangRate) {
		this.ichangRate = ichangRate;
	}

	public Float getIproportion() {
		return this.iproportion;
	}

	public void setIproportion(Float iproportion) {
		this.iproportion = iproportion;
	}

	public Short getInumber() {
		return this.inumber;
	}

	public void setInumber(Short inumber) {
		this.inumber = inumber;
	}

	public String getPubufts() {
		return this.pubufts;
	}

	public void setPubufts(String pubufts) {
		this.pubufts = pubufts;
	}

	public String getCenSingular() {
		return this.cenSingular;
	}

	public void setCenSingular(String cenSingular) {
		this.cenSingular = cenSingular;
	}

	public String getCenPlural() {
		return this.cenPlural;
	}

	public void setCenPlural(String cenPlural) {
		this.cenPlural = cenPlural;
	}

	public String getCunitRefInvCode() {
		return this.cunitRefInvCode;
	}

	public void setCunitRefInvCode(String cunitRefInvCode) {
		this.cunitRefInvCode = cunitRefInvCode;
	}

	public String toJSON() {
		StringBuilder sb = new StringBuilder("{");
		sb.append("\"ccomunitCode\":").append("\"" + ccomunitCode + "\",");
		sb.append("\"ccomUnitName\":").append("\"" + ccomUnitName + "\"");
		sb.append("}");
		return sb.toString();
	}


}